import type { Model } from '~/api/base/base-model.ts'

export interface ComponentReq {
  id?: string
  permissionId?: string
  menuId?: string
  roleId?: string
  componentTitle?: string
  componentTitleByLike?: string
  componentCode?: string
  icon?: string
  sort?: number
  note?: string
}

export interface ComponentResp extends Model {
  id?: string
  menuId?: string
  componentTitle?: string
  componentCode?: string
  icon?: string
  sort?: number
  checked?: boolean
}
